<?php


namespace app\api\model;


use think\Model;

class UserInfo extends Model
{

    protected $name  = 'user_info';


    public function user(){
        return $this->belongsTo('User','user_id');
    }

}